﻿using AutoMapper;
using BingYing.SAAS.SystemModel.Domain.Manager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BingYing.SAAS.SystemModel.Application.Common
{
    public class AutoMapperProfiles: Profile
    {
        public AutoMapperProfiles()
        {
            CreateMap<ManagerInfo, Contracts.Manager.GetModelOutputDto>();
            CreateMap<Contracts.Manager.AddOrUpdateInputDto, ManagerInfo>();
            CreateMap<ManagerInfo, Contracts.Manager.GetPageOutputDto>();
        }
    }
}
